* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');
.blog-section {
    margin: 5em 0;
}
.blog-container {
    width: 90%;
    margin: auto;
}
.blog-head {
    text-align: center;
    max-width: 35em;
    margin: auto;

}
.blog-head label {
    font-weight: 700;
    color: #FC7900;
    font-size: .9em;
}
.blog-head h2 {
    margin-top: .7em;
    font-weight: 700;
    color: #333333;
    font-size: 2em;
}
.blog-card {
    position: relative;
    /* min-width: 17em; */
    min-width: 20em;
    /* max-width: 30em; */
    /* height: 34em; */ 
    display: flex;
    flex-direction: column;
    justify-content: end;
    scroll-snap-align: center;
}
.bg-color-blog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    background: linear-gradient(180deg, rgba(193, 255, 242, 0) 0%, rgba(40, 66, 101, 0.49) 64.18%, #284265 92.19%);
}
.imge-bg-blog {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
}
.imge-bg-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease-in-out;
}
.text-blog {
    padding: 1.3em;
}
.text-blog h3 {
    font-size: 1.4em;
    margin-bottom: .5em;
    font-weight: 700;
    color: #ffffff;
    line-height: 138.52%;
}
.text-blog p {
    line-height: 155.02%;
    font-size: 1em;
    color:  #cfcfcf;;
}
.text-blog a {
    color: #E3FFF9;
}
.imge-bg-blog {
    overflow: hidden;
}
.blog-card:hover img {
    transform: scale(1.2);
    transition: .3s all;
    
}
.blog-flex {
    min-width: 25em;
    width: 100%;
    margin-top: 2em;
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    height: 30em; 
    gap: 1em;
}
@media only screen and (min-width: 1060px) {
    .blog-flex {
        overflow: visible;
        justify-content: center;

    }
    .blog-card {
        width: 10em;
        height: 30em;
    }
}
